﻿using MappingDTO.Admin;
using System.Collections.Generic;
using ToolsModel;

namespace BackendLogic
{
    /// <summary>
    /// 管理员管理接口
    /// </summary>
    public interface ISysUserService
    {
        /// <summary>
        /// 用户登录
        /// </summary>
        ResultJsonInfo<AdminTicket> UserLogin(LoginReqDTO userInfo);

        /// <summary>
        /// 根据唯一标识符获取用户信息
        /// </summary>
        /// <param name="sCode"></param>
        /// <returns></returns>
        ResultJsonInfo<SysUserRetDTO> LoadUserByCode(string sCode);

        /// <summary>
        /// 获取所有有效用户列表
        /// </summary>
        /// <returns></returns>
        ResultJsonInfo<IList<SysUserRetDTO>> LoadAllUserList();

        ///// <summary>
        ///// 获取分页用户列表
        ///// </summary>
        ///// <returns></returns>
        //ResultJsonInfo<IList<SysUserEntity>> loadUserList(ParametersInfo parametersInfo);

        ///// <summary>
        ///// 保存用户信息
        ///// </summary>
        ///// <param name="parametersInfo"></param>
        ///// <returns></returns>
        //ResultJsonInfo<int> saveUserInfo(ParametersInfo parametersInfo);


        ///// <summary>
        ///// 保存管理员密码信息
        ///// </summary>
        ///// <param name="parametersInfo"></param>
        ///// <returns></returns>
        //ResultJsonInfo<int> saveUserPswInfo(ParametersInfo parametersInfo);

        ///// <summary>
        ///// 删除管理员信息
        ///// </summary>
        ///// <param name="parametersInfo"></param>
        ///// <returns></returns>
        //ResultJsonInfo<int> remove(ParametersInfo parametersInfo);

    }
}
